﻿@model ViewDataBusiness.ViewSetting
@{
    ViewBag.Title = Model.ViewTitle;

    ViewBag.jQuery = true;
    ViewBag.jQueryUI = true;
    ViewBag.Json = true;
    ViewBag.Flexigrid = true;
    ViewBag.Global = true;

    ViewBag.Css = "/Content/ViewSetting/Site.css";
    ViewBag.Js = "/Content/" + ViewContext.RouteData.Values["ViewForder"] + "/" + ViewContext.RouteData.Values["ViewName"] + ".js";
    
    Layout = "~/Views/_Template.cshtml";
}
<script type="text/javascript">var JsonOriginal = @Html.Raw(Model.JsonString);</script> 
<table id="MainTable" cellpadding="0" cellspacing="4" width="100%">
    <tr><td class="PageTitle"><div class="Title">@Model.ViewTitle</div></td></tr>   
    <tr>
        <td>
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td valign="top" style="width:32%">
                        <table id="List1" class="flexme3"></table>
                    </td>
                    <td style="width:2%"></td>
                    <td valign="top" style="width:32%">
                        <table id="List2" class="flexme3"></table>
                    </td>
                    <td style="width:2%"></td>
                    <td valign="top" style="width:32%">
                        <table id="List3" class="flexme3"></table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<div style="display:none" id="EditerDialog" title="">
<table id="EditerTable" class="DialogMianTable" cellpadding="0" cellspacing="4" style="margin-top:8px;">
    <tr><td class="Unit"> 
        <div class="Panel">
            <table cellpadding="0" cellspacing="0"><tr><td class="Name">菜单名称</td><td class="Input"><input class="Required" name="Name" type="text" value="" title="菜单名称（必填项目）" maxlength="50" style="width:150px" /></td></tr></table>
            <input name="AutoID" type="hidden" value="" />
            <input name="ParentID" type="hidden" value="" />   
            <input name="ListOrder" type="hidden" value="" />
        </div>              
        <div class="Panel">
            <table cellpadding="0" cellspacing="0"><tr><td class="Name">菜单图标</td><td class="Input"><input name="Icon" type="text" value="" title="菜单图标（只用于一级菜单）" maxlength="50" style="width:150px" /></td></tr></table>
        </div>
    </td></tr>      
    <tr><td class="Unit">   
        <div class="Panel">
            <table cellpadding="0" cellspacing="0"><tr><td class="Name">网络地址</td><td class="Input"><input name="URL" type="text" value="" title="网络地址（只用于三级菜单）" style="width:375px" /></td></tr></table>
        </div>
    </td></tr>       
    <tr><td class="Unit">    
        <div class="Panel">
            <table cellpadding="0" cellspacing="0"><tr><td class="Name">权限列表</td><td class="Input"><input name="Permissions" type="text" value="" title="权限列表（只用于三级菜单，各个权限用半角逗号隔开）" style="width:375px" /></td></tr></table>
        </div>    
    </td></tr>
</table>
</div>